package com.aididi.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;

/**
 * @Auther: zx.xu
 * @Description:
 */
@ConditionalOnClass
public class CustomExpressionConfig {

    @Bean
    public CustomMethodSecurityExpressionHandler customMethodSecurityExpressionHandler(){
        return new CustomMethodSecurityExpressionHandler();
    }

}
